package com.zxq.uart.controller;

import com.zxq.uart.frame.decoder._36QuerySettingResult;
import com.zxq.uart.frame.encoder._36QuerySettingCmd;
import com.zxq.uart.result.ResultVO;
import com.zxq.uart.service.impl.PlatformExchange;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class _36QuerySettingController extends PlatformExchange<_36QuerySettingCmd, _36QuerySettingResult> {


    @Override
    public Integer getCmd() {
        return 0x36;
    }

    @PostMapping("exchange/36")
    @Override
    public ResultVO<_36QuerySettingResult> exchange(@RequestBody _36QuerySettingCmd order) {
        return super.exchange(order);
    }

    @Override
    public _36QuerySettingResult getResult() {
        return new _36QuerySettingResult();
    }
}


